package com.tmeone.erpone.mapper;

import com.tmeone.erpone.entity.TDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tmeone
 * @since 2021-04-19
 */
public interface TDepartmentMapper extends BaseMapper<TDepartment> {
    //查询所有的部门
    List<TDepartment>  selectDepartment();

    //查询一个部门 的信息
    TDepartment selectOneDepartment(String id);


}
